package com.hzeport.bgs22emduty.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.hzeport.bgs22emduty.config.login.UserInfoDetailVO;
import com.hzeport.bgs22emduty.dto.ParamHolidaysDTO;
import com.hzeport.bgs22emduty.vo.ParamHolidays.ParamHolidaysListVO;
import com.hzeport.bgs22emduty.vo.ParamHolidays.ParamHolidaysSaveVO;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import com.hzeport.bgs22emduty.common.base.BaseService;
import com.hzeport.bgs22emduty.entity.ParamHolidays;

import java.awt.*;
import java.time.LocalDate;
import java.util.List;

/**
 * 假期年度：
    说明假期使用的年度

假期日期：
    年度假期的具体日期，yyyy-MM-dd
 *
 * @author code generator
 * @date 2022-12-02 11:21:59
 */
public interface ParamHolidaysService extends BaseService<ParamHolidays> {


    BaseResult<PageInfo<ParamHolidays>>  list(ParamHolidaysDTO paramHolidaysDTO) throws Exception;

    BaseResult delete(String id);

//    BaseResult<List<ParamHolidays>>  init(ParamHolidaysDTO paramHolidaysDTO) throws Exception;

//    BaseResult<ParamHolidaysListVO> detail(String id);

    BaseResult saveData(ParamHolidaysSaveVO paramHolidaysSaveVO);

    List<ParamHolidays> getAllHolidayDate(String year,String quarter);
}
